package com.maixy.redisdemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @ClassName RedisUser
 * @Description TODO
 * @Date 2021/5/16 19:08
 * @Author maixy
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("redis_user")
public class RedisUser extends BaseModel implements Serializable {

    @TableField(value = "username_")
    private String username;

    @TableField(value = "password_")
    private String password;
}
